#include "stdafx.h"
#include "InterfaceModel.h"


InterfaceModel::InterfaceModel(void)
{
}

InterfaceModel::InterfaceModel(String^ _ip, int _id, String^ _port)
{
	ip = _ip;
	port = _port;
	
}

InterfaceModel::~InterfaceModel(void)
{
}

void InterfaceModel::setIp(String^ _ip)
{
	ip = _ip;
}

void InterfaceModel::setClockrate(int _clockrate)
{
	clockrate = _clockrate;
}

void InterfaceModel::setPort(String^ _port)
{
	port = _port;
}

void InterfaceModel::setShutdown(bool _shutdown)
{
	shutdown = _shutdown;
}

String^ InterfaceModel::getIp()
{
	return ip;
}

int InterfaceModel::getClockrate()
{
	return clockrate;
}

String^ InterfaceModel::getPort()
{
	return port;
}

bool InterfaceModel::isShutdown()
{
	return shutdown;
}
